<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title></title>
    <link rel="stylesheet" href="{$Assets}layui/css/layui.css">
    <link rel="stylesheet" href="{$Assets}css/chenvle_admin.css">
    <style type="text/css">
.layui-table-body{
    overflow: hidden;
}
    </style>
</head>
<body>
{include file="public/header" /}


<div style=" padding:2%; ">
<form class="layui-form" action="">
	<fieldset class="layui-elem-field layui-field-title" >
  		<legend>会员中心</legend>
	</fieldset>

  <ul class="vle_ico_ul">
      <li><img src="{$info.0}"></li>
      <li><img src="{$info.1}"></li>
      <li><img src="{$info.2}"></li>
      <li><img src="{$info.3}"></li>
      <li><img src="{$info.4}"></li>
      <li><img src="{$info.5}"></li>
  </ul>
	
	
	<div class="layui-form-item" style=" margin-top:60px; text-align:right;">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" lay-filter="demo1">提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  	</div>
	
</form> 
</div>
<script src="{$Assets}layui/layui.js?t=1515376178709"></script>
<script>
layui.use('upload', function(){
  var $ = layui.jquery
  ,upload = layui.upload;
  
  //普通图片上传
  var uploadInst = upload.render({
    elem: '#test1'
    ,url: '/upload/'
    ,before: function(obj){
      //预读本地文件示例，不支持ie8
      obj.preview(function(index, file, result){
        $('#demo1').attr('src', result); //图片链接（base64）
      });
    }
    ,done: function(res){
      //如果上传失败
      if(res.code > 0){
        return layer.msg('上传失败');
      }
      //上传成功
    }
    ,error: function(){
      //演示失败状态，并实现重传
      var demoText = $('#demoText');
      demoText.html('<span style="color: #FF5722;">上传失败</span> <a class="layui-btn layui-btn-xs demo-reload">重试</a>');
      demoText.find('.demo-reload').on('click', function(){
        uploadInst.upload();
      });
    }
  });

});
</script>

{include file="public/footer"/}
</body>
</html>